package cn.zysuyuan.item.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-02-17 19:31
 */
public class CompanyEdition implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;					//'种植公司的uuid',
    private String cName;				//varchar(30) NOT NULL COMMENT '公司名称',
    private String cPosition;			// varchar(200) DEFAULT NULL COMMENT '公司位置信息',
    private String cPerson;				// varchar(20) DEFAULT NULL COMMENT '公司负责人',
    private String cContact;			// varchar(20) DEFAULT NULL COMMENT '负责人联系方式',
    private String cMedicinal;			//varchar(200) DEFAULT NULL COMMENT '种植药材',
    private String cRemarks;			// varchar(200) DEFAULT NULL COMMENT '备注信息',
    private String mMiddleId;//跟药品关联的中间表

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eTime; // 版本时间，也叫归档时间

    private Date cCreateTime; //为了显示的时候可以按顺序排列

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcPosition() {
        return cPosition;
    }

    public void setcPosition(String cPosition) {
        this.cPosition = cPosition;
    }

    public String getcPerson() {
        return cPerson;
    }

    public void setcPerson(String cPerson) {
        this.cPerson = cPerson;
    }

    public String getcContact() {
        return cContact;
    }

    public void setcContact(String cContact) {
        this.cContact = cContact;
    }

    public String getcMedicinal() {
        return cMedicinal;
    }

    public void setcMedicinal(String cMedicinal) {
        this.cMedicinal = cMedicinal;
    }

    public String getcRemarks() {
        return cRemarks;
    }

    public void setcRemarks(String cRemarks) {
        this.cRemarks = cRemarks;
    }

    public String getmMiddleId() {
        return mMiddleId;
    }

    public void setmMiddleId(String mMiddleId) {
        this.mMiddleId = mMiddleId;
    }

    public Date geteTime() {
        return eTime;
    }

    public void seteTime(Date eTime) {
        this.eTime = eTime;
    }

    public Date getcCreateTime() {
        return cCreateTime;
    }

    public void setcCreateTime(Date cCreateTime) {
        this.cCreateTime = cCreateTime;
    }
}
